﻿namespace AnyOffice.Model
{
    using System;

    public class MeetingData
    {
        protected object _attendee;
        protected object _description;
        protected DateTime _endTime;
        protected object _guest;
        protected int _meetingId = -1;
        protected bool _mobileRemind;
        protected string _name = string.Empty;
        protected string _proposer = string.Empty;
        protected DateTime _requestTime = DateTime.Now;
        protected int _roomId;
        protected bool _smsRemind;
        protected DateTime _startTime;
        protected int _status;
        protected object _topic;

        public string Attendee
        {
            get
            {
                return (string) this._attendee;
            }
            set
            {
                this._attendee = value;
            }
        }

        public bool AttendeeIsNull
        {
            get
            {
                return (this._attendee == null);
            }
            set
            {
                if (value)
                {
                    this._attendee = null;
                }
            }
        }

        public string Description
        {
            get
            {
                return (string) this._description;
            }
            set
            {
                this._description = value;
            }
        }

        public bool DescriptionIsNull
        {
            get
            {
                return (this._description == null);
            }
            set
            {
                if (value)
                {
                    this._description = null;
                }
            }
        }

        public DateTime EndTime
        {
            get
            {
                return this._endTime;
            }
            set
            {
                this._endTime = value;
            }
        }

        public string Guest
        {
            get
            {
                return (string) this._guest;
            }
            set
            {
                this._guest = value;
            }
        }

        public bool GuestIsNull
        {
            get
            {
                return (this._guest == null);
            }
            set
            {
                if (value)
                {
                    this._guest = null;
                }
            }
        }

        public int MeetingId
        {
            get
            {
                return this._meetingId;
            }
            set
            {
                this._meetingId = value;
            }
        }

        public bool MobileRemind
        {
            get
            {
                return this._mobileRemind;
            }
            set
            {
                this._mobileRemind = value;
            }
        }

        public string Name
        {
            get
            {
                return this._name;
            }
            set
            {
                this._name = value;
            }
        }

        public string Proposer
        {
            get
            {
                return this._proposer;
            }
            set
            {
                this._proposer = value;
            }
        }

        public DateTime RequestTime
        {
            get
            {
                return this._requestTime;
            }
            set
            {
                this._requestTime = value;
            }
        }

        public int RoomId
        {
            get
            {
                return this._roomId;
            }
            set
            {
                this._roomId = value;
            }
        }

        public bool SmsRemind
        {
            get
            {
                return this._smsRemind;
            }
            set
            {
                this._smsRemind = value;
            }
        }

        public DateTime StartTime
        {
            get
            {
                return this._startTime;
            }
            set
            {
                this._startTime = value;
            }
        }

        public int Status
        {
            get
            {
                return this._status;
            }
            set
            {
                this._status = value;
            }
        }

        public string Topic
        {
            get
            {
                return (string) this._topic;
            }
            set
            {
                this._topic = value;
            }
        }

        public bool TopicIsNull
        {
            get
            {
                return (this._topic == null);
            }
            set
            {
                if (value)
                {
                    this._topic = null;
                }
            }
        }
    }
}

